package com.ztn.iot.zhonghaichi2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author zhm
 */
@Data
@TableName("site")
public class SiteEntity extends BaseEntityWithLogicDelete {


    @TableId(value = "siteId", type = IdType.AUTO)
    public Integer siteId;

    @ApiModelProperty(value = "站点码")
    public String siteCode;

    @ApiModelProperty()
    public Double lastHourRainCount;

    @ApiModelProperty()
    public Double lastDayRainCount;

//    @ApiModelProperty()
//    public Double lastRainCount;

    @ApiModelProperty()
    public Double rainCount;

    @ApiModelProperty()
    public Double siteStorage;

    @ApiModelProperty()
    public Double warnWaterDept;

    @ApiModelProperty()
    public Double waterDept;

    @ApiModelProperty()
    public BigDecimal waterFlow;

    public String eVSFreqStrs;

}
